<template>
    <div class="container">
      <top-bar></top-bar>
      <div class="mid">
        <slider></slider>
        <container></container>
      </div>
    </div>
</template>

<script>
  import Slider from './slider'
  import Container from './container'
  import TopBar from './topBar'
  export default {
    name: 'index',
    components: {TopBar, Container, Slider}
  }
</script>

<style lang="scss" scoped>
.container{
  height: 100%;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  .mid{
    flex: 1;
  }
}
</style>
